import { markRaw } from 'vue';
import { FormOne } from "@icon-park/vue-next";
import Node from './chattemplate_node.vue';
import Property from './chattemplate_property.vue';

// 导出当前目录的节点元数据
 export default {
   type: "chatTemplate",
   name: "聊天模板节点",
   category: "模板节点",
   icon: markRaw(FormOne),
   serializableFields: ["systemMessage", "userMessage"],
   defaultData: {
     systemMessage: "请使用中文回答问题。",
     userMessage: "请输入问题。",
   },
   component: markRaw(Node),
   propertyComponent: markRaw(Property),
 };